/*  1:   */ package org.jetbrains.jps.model.serialization.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.JpsElementChildRole;
import org.jetbrains.jps.model.ex.JpsElementBase;
import org.jetbrains.jps.model.ex.JpsElementChildRoleBase;
import org.jetbrains.jps.model.serialization.JpsProjectSerializationDataExtension;

import java.io.File;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public class JpsProjectSerializationDataExtensionImpl
/* 11:   */   extends JpsElementBase<JpsProjectSerializationDataExtensionImpl>
/* 12:   */   implements JpsProjectSerializationDataExtension
/* 13:   */ {
/* 14:30 */   public static final JpsElementChildRole<JpsProjectSerializationDataExtension> ROLE = JpsElementChildRoleBase.create("serialization data");
/* 15:   */   private File a;
/* 16:   */   
/* 17:   */   public JpsProjectSerializationDataExtensionImpl(File paramFile)
/* 18:   */   {
/* 19:34 */     this.a = paramFile;
/* 20:   */   }
/* 21:   */   
/* 22:   */   @NotNull
/* 23:   */   public JpsProjectSerializationDataExtensionImpl createCopy()
/* 24:   */   {
/* 25:40 */     void tmp11_8 = new JpsProjectSerializationDataExtensionImpl(this.a);
/* 26:40 */     if (tmp11_8 == null) {
/* 27:40 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/impl/JpsProjectSerializationDataExtensionImpl", "createCopy" }));
/* 28:   */     }
/* 29:40 */     return tmp11_8;
/* 30:   */   }
/* 31:   */   
/* 32:   */   public void applyChanges(@NotNull JpsProjectSerializationDataExtensionImpl paramJpsProjectSerializationDataExtensionImpl)
/* 33:   */   {
/* 34:45 */     if (paramJpsProjectSerializationDataExtensionImpl == null) {
/* 35:45 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/serialization/impl/JpsProjectSerializationDataExtensionImpl", "applyChanges" }));
/* 36:   */     }
/* 37:   */   }
/* 38:   */   
/* 39:   */   @NotNull
/* 40:   */   public File getBaseDirectory()
/* 41:   */   {
/* 42:50 */     File tmp4_1 = this.a;
/* 43:50 */     if (tmp4_1 == null) {
/* 44:50 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/serialization/impl/JpsProjectSerializationDataExtensionImpl", "getBaseDirectory" }));
/* 45:   */     }
/* 46:50 */     return tmp4_1;
/* 47:   */   }
/* 48:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.serialization.impl.JpsProjectSerializationDataExtensionImpl

 * JD-Core Version:    0.7.0.1

 */